package com.itheima.user.entity;

import com.itheima.order.entity.Order;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserOrderDTO {

    private User user;

    private List<Order> orders;
}
